<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Check if the instance was recently created</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="memcached.ispersistent.html">Memcached::isPersistent</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="memcached.prepend.html">Memcached::prepend</a></div>
 <div class="up"><a href="class.memcached.html">Memcached</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="memcached.ispristine" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Memcached::isPristine</h1>
  <p class="verinfo">(PECL memcached &gt;= 2.0.0)</p><p class="refpurpose"><span class="refname">Memcached::isPristine</span> &mdash; <span class="dc-title">Check if the instance was recently created</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-memcached.ispristine-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><strong>Memcached::isPristine</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   <span class="function"><strong>Memcached::isPristine()</strong></span> checks if the Memcache instance
   was recently created.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-memcached.ispristine-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-memcached.ispristine-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the true if instance is recently created, false otherwise.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-memcached.ispristine-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="methodname"><a href="memcached.ispersistent.html" class="methodname" rel="rdfs-seeAlso">Memcached::isPersistent()</a> - Check if a persitent connection to memcache is being used</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="memcached.ispersistent.html">Memcached::isPersistent</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="memcached.prepend.html">Memcached::prepend</a></div>
 <div class="up"><a href="class.memcached.html">Memcached</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
